package com.bayihouse.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bayihouse.model.entity.House;
import com.bayihouse.model.request.house.HouseQueryRequest;
import com.bayihouse.model.vo.HouseVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【house】的数据库操作Service
* @createDate 2024-09-17 10:28:03
*/
public interface HouseService extends IService<House> {

    HouseVO getHouseVO(House house);

    QueryWrapper<House> getQueryWrapper(HouseQueryRequest houseQueryRequest);

    List<HouseVO> getHouseVOList(List<House> records);

    Long getByCommunityIdAndAddress(Long communityId, String address);
}
